package com.huawei.push.entity;
 
 public class SoftwareUsageInfo {
   private String id;
   
   private Integer active_num;
   
   public void setId(String id) {
     this.id = id;
   }
   
   public void setActive_num(Integer active_num) {
     this.active_num = active_num;
   }
   
   public boolean equals(Object o) {
     if (o == this)
       return true; 
     if (!(o instanceof com.huawei.push.entity.SoftwareUsageInfo))
       return false; 
     com.huawei.push.entity.SoftwareUsageInfo other = (com.huawei.push.entity.SoftwareUsageInfo)o;
     if (!other.canEqual(this))
       return false; 
     Object this$id = getId(), other$id = other.getId();
     if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
       return false; 
     Object this$active_num = getActive_num(), other$active_num = other.getActive_num();
     return !((this$active_num == null) ? (other$active_num != null) : !this$active_num.equals(other$active_num));
   }
   
   protected boolean canEqual(Object other) {
     return other instanceof com.huawei.push.entity.SoftwareUsageInfo;
   }
   
   public int hashCode() {
     int PRIME = 59;
     int result = 1;
     Object $id = getId();
     result = result * 59 + (($id == null) ? 0 : $id.hashCode());
     Object $active_num = getActive_num();
     return result * 59 + (($active_num == null) ? 0 : $active_num.hashCode());
   }
   
   public String toString() {
     return "SoftwareUsageInfo(id=" + getId() + ", active_num=" + getActive_num() + ")";
   }
   
   public String getId() {
     return this.id;
   }
   
   public Integer getActive_num() {
     return this.active_num;
   }
 }